﻿using Pay.DTO.Token;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.IService {
    public interface ITokenCardService {

        /// <summary>
        /// 银行列表
        /// </summary>
        /// <returns>The bank.</returns>
        Task<List<bank_resp>> GetBank();

        /// <summary>
        /// 银行卡主题列表
        /// </summary>
        /// <returns>The bank.</returns>
        Task<List<banktopic_resp>> GetBankTopic();

        /// <summary>
        /// 银行卡标签列表
        /// </summary>
        /// <returns>The bank topic.</returns>
        Task<List<banktag_resp>> GetBankTag();

        /// <summary>
        /// 银行卡通道列表
        /// </summary>
        /// <returns>The bank topic.</returns>
        Task<PagedResult<bank_card_resp>> GetBankCard(card_req model);

        /// <summary>
        /// 银行卡通道列表
        /// </summary>
        /// <returns>The bank card detail.</returns>
        /// <param name="id">卡种通道id.</param>
        Task<bank_carddetail_resp> GetBankCardDetail(long id);

        /// <summary>
        /// 保存申卡记录
        /// </summary>
        /// <returns>The bank card detail.</returns>
        /// <param name="model">Model.</param>
        Task<card_save_resp> Post(card_save_model model);
    }
}
